using System;


namespace Mogocal
{
	
	/// <summary>
	/// This class allows to store configurations settings
	/// </summary>
	public class ConfigurationSettings
	{	
		
		#region Constructors
		
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="googleAccount"></param>
		/// <param name="googleAccountPassword"></param>
		/// <param name="proxyEnabled"></param>
		/// <param name="proxyHost"></param>
		/// <param name="proxyPort"></param>
		/// <param name="proxyUser"></param>
		/// <param name="proxyUserPassword"></param>
		public ConfigurationSettings(string googleAccount, string googleAccountPassword, bool proxyEnabled, string proxyHost, int proxyPort, string proxyUser, string proxyUserPassword)
		{
			GoogleAccount = googleAccount;
			GoogleAccountPassword = googleAccountPassword;
			ProxyEnabled = proxyEnabled;
			ProxyHost = proxyHost;
			ProxyPort = proxyPort;
			ProxyUser = proxyUser;
			ProxyPassword = proxyUserPassword;
		}
		
		/// <summary>
		/// Default Constructor
		/// </summary>
		public ConfigurationSettings()
		{
		
		}
		
		#endregion
		
		#region properties definitions
		
		private string googleAccount;
		
		/// <summary>
		/// Get or set Google Account
		/// </summary>
		public string GoogleAccount {
			get {
				return googleAccount;
			}
			set {
				googleAccount = value;
			}
		}
		
		private string googleAccountPassword;
		
		/// <summary>
		/// Get or set Google Account Password
		/// </summary>
		public string GoogleAccountPassword {
			get {
				return googleAccountPassword;
			}
			set {
				googleAccountPassword = value;
			}
		}
		

		private bool proxyEnabled;
		
		/// <summary>
		/// True if there are a proxy
		/// </summary>
		public bool ProxyEnabled {
			get {
				return proxyEnabled;
			}
			set {
				proxyEnabled = value;
			}
		}
		
		private string proxyHost;
		
		/// <summary>
		/// Get or set proxy host adress
		/// </summary>
		public string ProxyHost {
			get {
				return proxyHost;
			}
			set {
				proxyHost = value;
			}
		}
		
		/// <summary>
		/// Get or set proxy port
		/// </summary>
		private int proxyPort;
		
		public int ProxyPort {
			get {
				return proxyPort;
			}
			set {
				proxyPort = value;
			}
		}
		
		private string proxyUser;
		
		/// <summary>
		/// Get or set proxy user
		/// </summary>
		public string ProxyUser {
			get {
				return proxyUser;
			}
			set {
				proxyUser = value;
			}
		}
		
		private string proxyPassword;
		
		/// <summary>
		/// Get or set proxy password
		/// </summary>
		public string ProxyPassword {
			get {
				return proxyPassword;
			}
			set {
				proxyPassword = value;
			}
		}
		
		#endregion
		
	}
}
